package org.adultedu.service;

import org.adultedu.pojo.Teacher;

import java.util.List;


public interface TeacherService {
    //查询所有老师信息
    List<Teacher> queryAllTeacher();

    //查询特定老师
    List<Teacher> queryUniqueTeacher(Teacher teacher);

    List<Teacher> queryLimitTeacher(String tname,String tele,Integer isverify,Integer currentpage,Integer pagesize);

    // 修改老师信息
    int updateTeacher(Teacher teacher);

    // 插入老师信息
    int insertTeacher(Teacher teacher);

    // 删除老师信息
    int deleteTeacher(String tid);

}
